package com.Bean.Dao;

import com.Bean.Student;

import java.util.List;

public interface StudentDao {
    int inster();

    //根据姓名更新学生消息记录
    int update(String name);

    //根据学号查询单个学生记录
    Student selectOne(String number);

    //根据学号删除学生记录
    int delete(String number);

    List<Student> selectAll();


}
